/* 祝贺页面专属样式 */
.congrats-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: appear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.winner-box {
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trophy {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: bounce 1s infinite alternate;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes bounce {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-10px) scale(1.1);
    }
}

.winner {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffcc00, #ff6b6b, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    animation: colorChange 4s infinite;
}

@keyframes colorChange {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.funny-text {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    opacity: 0.9;
    animation: fadeInUp 1s 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* 纸屑效果的容器 */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* 媒体查询 */
@media (max-width: 768px) {
    .trophy {
        font-size: 4rem;
    }
    
    .winner {
        font-size: 2rem;
    }
    
    .funny-text {
        font-size: 1rem;
    }
} 